<?php
namespace app\index\controller;
use think\Controller;
use think\Db;
class Index extends Controller
{
    public function index()
    {
		$data = Db::name('data')->find();
		//var_dump($data);die;
		$this->assign('result', $data);
		return $this->fetch();
    }
}
